package com.shen.demo01;

public class Test01 {
    public static void main(String[] args) {
       /* Thread thread = new Thread();
        thread.start();*/

        //获取cpu的核心数
        //cpu密集型，IO密集型
        System.out.println(Runtime.getRuntime().availableProcessors());//4
    }
}
